package com.training.common;

import com.jfinal.core.Controller;
import com.training.common.model.Power;

public class PowerRoleTool extends Controller{

    //#if(roletool.isPower(session.trainingsession.role_id, 1))
    public boolean isPower(int roleid,int powerid ){
        return Power.dao.isPowerRole(roleid+"",powerid+"");
    }

}
